package com.jerry.basic.finaltype;

public class Animal {
    private String name = "";
    public void setName(String name){
    	this.name = name;
    }
    public final String getName(){ //可被继承但不可被修改
    	return this.name;
    }
}
